<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        body{
            padding-bottom: 800px;
            padding-left: 30px;
        }
        .cbox{
            border: 1px solid #999;
            padding: 20px;
            margin-bottom: 10px;
        }
    </style>
    <link rel="stylesheet" href="./components/RateSource.css">
    <link rel="stylesheet" href="../../assets/element/index.css">
</head>
<body>
    <div id="app">
        <p>createApp</p>
        <rate-source></rate-source>
        <child-comp></child-comp>
        <hr>
        <el-button type="primary">Primary</el-button>
        <el-date-picker></el-date-picker>
    </div>
    <script src="../../assets/vue3/vue.global.js"></script>
    <script src="../../assets/element/index.full.js"></script>
    <script type="module">
        // console.log(ElementPlus);
        // 加载 Vue3 的ESM 模块文件
        import myUI from "./components/index.js";
        Vue.createApp({
            data(){
                return {
                    
                }
            },
            components: {
                ChildComp:{
                    template:`
                        <div class="cbox">
                            <p>组件ChildComp</p>
                            <rate-source></rate-source>
                        </div>
                    `
                },
            },
        }).use(myUI)
          .use(ElementPlus)
          .mount("#app")
    </script>
</body>
</html>